package com.think.teaching.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 事件类型
 * @author 赵兴
 *2020-11-12
 */
public class ActionType extends BaseModel<ActionType>{
	
	/**
	 * 主键
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	
	/**
	 * 事件类型名称
	 */
	private String name;
	
	/**
	 * 事件类型描述
	 */
	private String description;
	
	/**
	 * 事件类型
	 */
	private Integer type;
	
	public ActionType() {}
	
	public ActionType(Integer id,String name, String description,Integer type) 
	{
		this.id = id;
		this.name = name;
		this.description = description;
		this.type = type;
	}
	
	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
